let vm=new Vue({
    el:"#app",
    data:{
        nowIndex:0,
        arr:["综合排序","距高最近","销量最高","筛选"],
        arr1:["年货节热卖","律贴联盟","满减惯惠","品质联盟"],
        
        information:[
            {pic:'1.png',name:'金百万烤鸭（苏家坨店)',score:'4.3',sell:'1632',minute:'47',km:'3.9',appraise:['扬州炒饭棒棒哒','雁塔区畅销第二名'],reduce:['35减12','70减35','100减45','150减80'],money:'6'},
            {pic:'./2.jfif',name:'稻香金源饺子馆',score:'4.4',sell:'230',minute:'44',km:'2.5',appraise:'',reduce:['40减5','70减8','100减15','支持自取'],money:'3.5'},
        ]
    },
    
    methods:{
        handleClick(index){
            this.nowIndex=index;
        }
    }
})
let vm2=new Vue({
    el:"footer",
    data:{
        currentIndex:0,
        arr2:["首页","订单","我的"],
    },
    methods:{
        handleClick(index){
            this.currentIndex = index;//保存点击的按钮下标
        }
    }
})